package com.zerui.manager.openplan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;


/**
 * @Author wh
 * @create_time 2023-08-23 15:28
 */
@ApiModel("开门计划关联设备")
@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tb_open_plan_device",autoResultMap = true)
public class OpenPlanDeviceDo {

	@ApiModelProperty("主键，无业务含义")
	@TableId(value="id",type= IdType.ASSIGN_ID)
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long id;

	@ApiModelProperty("执行计划id")
	private Long openPlanId;

	@ApiModelProperty("设备id")
	private Long deviceId;


}
